#ifndef QxWorkspaceDefine_HPP
#define QxWorkspaceDefine_HPP

#include <QDateTime>

struct QxWorkspaceDefine
{
  QxWorkspaceDefine() {
  }

  bool operator == ( const QxWorkspaceDefine& define ) {
    if( define.workspaceName    == this->workspaceName &&
        define.creator          == this->creator       &&
        define.creationTime     == this->creationTime  &&
        define.modifier         == this->modifier      &&
        define.modificationTime == this->modificationTime  ) {
      return true;
    } else {
      return false;
    }
  }

  bool operator != ( const QxWorkspaceDefine& define ) {
    return !(*this == define);
  }

  QString workspaceName;
  QString creator;
  QDateTime creationTime;
  QString modifier;
  QDateTime modificationTime;
};

#endif  // QxWorkspaceDefine_HPP